package com.org.model;

import java.sql.Timestamp;

/**
 * ProductNotify entity. @author MyEclipse Persistence Tools
 */

public class ProductNotify implements java.io.Serializable {

	// Fields

	private Long id;
	private Product product;
	private Member member;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String email;
	private Boolean hasSent;

	// Constructors

	/** default constructor */
	public ProductNotify() {
	}

	/** minimal constructor */
	public ProductNotify(Product product, Timestamp createDate,
			Timestamp modifyDate, String email, Boolean hasSent) {
		this.product = product;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.email = email;
		this.hasSent = hasSent;
	}

	/** full constructor */
	public ProductNotify(Product product, Member member, Timestamp createDate,
			Timestamp modifyDate, String email, Boolean hasSent) {
		this.product = product;
		this.member = member;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.email = email;
		this.hasSent = hasSent;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Boolean getHasSent() {
		return this.hasSent;
	}

	public void setHasSent(Boolean hasSent) {
		this.hasSent = hasSent;
	}

}